home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / be004.dxr / 00087.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  475 b   |  20 lines

  1. on exitFrame
  2.   if the timer < 1020 then
  3.     go(the frame)
  4.   else
  5.     go(the frame + 1)
  6.   end if
  7.   set the locV of sprite 13 to the locV of sprite 13 + random(5)
  8.   set the locV of sprite 13 to the locV of sprite 13 - random(5)
  9.   if sprite 13 intersects sprite(14) then
  10.     set the locV of sprite 13 to the locV of sprite 13 - 2
  11.   end if
  12.   if sprite 13 intersects sprite(15) then
  13.     set the locV of sprite 13 to the locV of sprite 13 + 2
  14.   end if
  15. end
  16.  
  17. on mouseUp
  18.   go(80)
  19. end
  20.